package com.yundingai.controller;

import com.yundingai.domain.entity.AllPlan;
import com.yundingai.service.AllPlanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @Author: liyuxiang
 * @Date: 2025/7/16 10:32
 */

@RestController
public class TestController {
    @Autowired
    AllPlanService allPlanService;
    @GetMapping("/test")
    public List<AllPlan> test() {
        return allPlanService.allPlan();
    }
}
